package com.tonicgb.shared.common.enums;
/**
 * @author zhaiyujin
 * @date 2021-09-06 23:49:21
 * @说明 用户类型枚举
 */
public enum UserType {
    ADMIN(1,"后端"),
    CLIENT(2,"客户端");
    private int code;
    private String text;

    UserType(int code, String text) {
        this.code = code;
        this.text = text;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
